package com.baor.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baor.domain.base.PageVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("t_menu")
public class MenuVo {

  @TableId(type = IdType.AUTO)
  private Integer menuId;
  private String menuName;
  private String menuType;
  private Integer menuSuperiors;
  private String menuPath;
  private String menuImage;
  private Integer menuSort;

  @TableField(exist = false)
  private List<MenuVo> childs;

}
